Skip to main content
Version: Upcoming

ToolCompositeExecution

V8 Message Definiton

METADATA

AttributeValue
Topic3480-mlink-custom
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Order

Table Definition

FieldTypeKeyDefault ValueComment
fillNumberCHAR(19)PRI'0000-0000-0000-0000'SpiderRock execution number globally unique over trailing 10 days
tradeDateDATE'1900-01-01'trade date
accntVARCHAR(16)SEC''SpiderRock Accnt Code
clientFirmVARCHAR(16)SEC''SpiderRock ClientFirm Code
secKey_atenum - AssetType'None'Security Key can be partially filled in look at secType
secKey_tsenum - TickerSrc'None'Security Key can be partially filled in look at secType
secKey_tkVARCHAR(12)''Security Key can be partially filled in look at secType
secKey_yrSMALLINT UNSIGNED0Security Key can be partially filled in look at secType
secKey_mnTINYINT UNSIGNED0Security Key can be partially filled in look at secType
secKey_dyTINYINT UNSIGNED0Security Key can be partially filled in look at secType
secKey_xxDOUBLE0Security Key can be partially filled in look at secType
secKey_cpenum - CallPut'Call'Security Key can be partially filled in look at secType
secTypeenum - SpdrKeyType'None'Security Type Stock Future Option
sideenum - BuySell'None'order execution side
versionTINYINT UNSIGNED0record version number starts at zero and goes up every time an execution record is republished eg bust 1m marks 10m marks etc
parentNumberCHAR(19)'0000-0000-0000-0000'SpiderRock parent number
baseParentNumberCHAR(19)'0000-0000-0000-0000'SpiderRock base parent number
spdrSourceenum - SpdrSource'None'SpiderRock parent order source code broker pkey
groupingCodeCHAR(19)'0000-0000-0000-0000'SpiderRock parent broker number broker pkey
riskGroupIdCHAR(19)'0000-0000-0000-0000'riskGroupId parent order group ID for this execution report
altOrderIdVARCHAR(24)''alternate order ID usually clOrdId from client
srcRoutingCodeTINYTEXT''inbound FIX routing code if any
userNameVARCHAR(24)''SpiderRock user name associated with the parent order
serverVARCHAR(20)''SpiderRock execution engine that handled the parent order
ticker_atenum - AssetType'None'SpiderRock underlier ticker key synthetic for futures
ticker_tsenum - TickerSrc'None'SpiderRock underlier ticker key synthetic for futures
ticker_tkVARCHAR(12)''SpiderRock underlier ticker key synthetic for futures
sectorVARCHAR(16)''user supplied sector code from SymbolControl record
clientTagsTINYTEXT''
indNumINT0ind code 00
subNumINT0sub code 0000
grpNumINT0grp code 000000
nbrNumINT0nbr code 00000000
expCodeenum - ExpCode'None'expiration tenor code
skewCodeenum - SkewCode'None'strike skew code parent order arrival
widthCodeenum - WidthCode'None'market width code
priceFormatenum - PriceFormat'None'SpiderRock price display format code
uPriceFormatenum - PriceFormat'None'SpiderRock underlier price display code
yearsFLOAT0years to expiration parent order arrival
underlierTypeenum - UnderlierType'None'underlier type affects greek calcs
minTickSizeFLOAT0NLV value of a single tick change in display premium pointValue tickValue tickSize
pointValueFLOAT0NLV value of a point
pointCurrencyenum - Currency'None'
underliersPerCnINT0underliers per contract futures and options
parentShapeenum - SpdrOrderShape'None'parent order shape Single MLeg etc
parentLimitTypeenum - SpdrLimitType'None'parent order limit type Vol VolX PrcDe PrcDeX etc
parentLimitClassenum - SpdrLimitClass'Simple'parent order limit class makeLimitClass if fill was from making takeLimitClass if fill was from taking
parentOrderHandlingenum - ParentOrderHandling'None'base parent order algo take style algo
parentBalanceHandlingenum - ParentBalanceHandling'None'base parent order balance handling make style algo
parentOrderSizeINT0parent order size
parentDttmDATETIME(6)'1900-01-01 00:00:00.000000'Datetime of parent order arrival
parentUMarkDOUBLE0underlier mid mark parent order arrival options only
parentBidDOUBLE0market bid parent order arrival
parentAskDOUBLE0market ask parent order arrival
parentFairPrcFLOAT0SpiderRock fair price parent order arrival
parentFairWidthFLOAT0SpiderRock fair width parent order arrival
parentLimitPrcDOUBLE0parent order limit price parent order arrival
parentLimitRefUPrcDOUBLE0limit reference underlier price parent order arrival options only
parentSSaleFlagenum - ShortSaleFlag'None'parent order short sale flag can be Auto
parentPositionTypeenum - PositionType'None'parent order position type can be Auto
parentStrategyVARCHAR(36)''parent strategy usually client supplied
parentAutoHedgeenum - AutoHedge'None'SpiderRock autohedge algorithm if any
childDttmDATETIME(6)'1900-01-01 00:00:00.000000'child order send datetime if any
childClOrdIdVARCHAR(24)''child order clOrdId resulting in fill if any
childRoutingCodeTINYTEXT''SpiderRock child order routing code if any
childSizeINT0child order size
childPriceDOUBLE0child order price
childExchVARCHAR(6)''child order exchange code SpiderRock
childExDestVARCHAR(16)''child order exchange code downstream
childUPrcDOUBLE0underlier market price child order send time
childBidDOUBLE0market bid child order send time
childAskDOUBLE0market ask child order send time
childFairPrcFLOAT0SpiderRock fair price child order send time
childFairWidthFLOAT0SpiderRock fair width child order send time
childVolFLOAT0child order volatilty options only
childProbFLOAT0child order probability Tx
childLimitPrcDOUBLE0parent order limit price child order send time
childLimitRefUPrcDOUBLE0limit reference underlier price child order send time options only
childAlgoHandlerenum - ChildHandler'None'algo that generated the child order responsible for this fill
childOrderHandlingVARCHAR(24)''algo handler detail string
childCreateReasonenum - ChildCreateReason'None'child order create code
childCancelReasonenum - ChildCancelReason'None'child order cancel code if any
childMktStanceenum - MktStance'None'child order was expected to be marketable child send time
childCxlAttemptedenum - YesNo'None'cancel attempt was made on the child order prior to receiving this fill
childSSaleFlagenum - ShortSaleFlag'None'child order short sale flag
childPositionTypeenum - PositionType'None'child order position type
childFirmTypeenum - FirmType'None'chld order firm type Customer ProCust Firm MM etc
childCapacityenum - OrderCapacity'None'child order capacity
fillExchVARCHAR(12)''ExDest code from child order execution report lastMkt
fillPriceDOUBLE0fill price
fillDttmDATETIME(6)'1900-01-01 00:00:00.000000'Datetime of fill arrival
fillSizeINT0fill quantity
fillPointValueINT0fill size x pointValue
fillVolFLOAT0fill volatilty options only
fillProbFLOAT0fill order probability Tx
fillLimitPrcDOUBLE0parent order limit price fill arrival time
fillLimitRefUPrcDOUBLE0limit reference underlier price fill arrival time options only
fillUPrcDOUBLE0fill underlier midmarket
fillBetaFLOAT0SpiderRock estimate of beta to SPX
fillTvFLOAT0theo vol user supplied
fillTpFLOAT0theo price
fillBidDOUBLE0option market bid fill arrival
fillAskDOUBLE0option market ask fill arrival
fillFairPrcFLOAT0SpiderRock fair price fill arrival
fillFairWidthFLOAT0SpiderRock fair width fill arrival
fillBrkrRateFLOAT0billing brokerage rate tier 1
fillRoutingRateFLOAT0billing routing rate tier 1
fillOrigExecIDVARCHAR(20)''original execution ID string child order
fillLastExecIDVARCHAR(20)''most recent execution ID same as origExecID unless CANCELCORRECTION has been processed
fillExecStatusenum - ExecStatus'None'SpiderRock execution status FillBustCorrectRejectSysRej
fillRemoteTextVARCHAR(64)''text comment from endpoint if any
fillTransactDttmDATETIME(6)'1900-01-01 00:00:00.000000'transaction datetime as reported by exchange or down stream broker
fillLiquidityTagVARCHAR(2)''SpiderRock normalized exch liquidity tag
fillExchFeeFLOAT0SpiderRock exchange fee estimate
fillDeFLOAT0
fillGaFLOAT0
fillVeFLOAT0
execRoleenum - ExecRole'None'SpiderRock relationship to this execution record Direct Drop etc
execBrkrCodeVARCHAR(16)''exec broker acronym usually an MPID
execBrkrAccntVARCHAR(16)''account at executing broker if any
execBrkrClFirmVARCHAR(16)''clientfirm at executing broker if any
execBrkrUserNameVARCHAR(16)''user executing broker if any
clearingFlipTypeenum - FlipType'None'type of clearing corp delivery
clearingFlipFirmVARCHAR(6)''deliverTo clearing member eg OCC NSCC MPID or InstitutionID
clearingFlipAccntVARCHAR(10)''deliverTo client account eg OCC AID or a DVP FBO code
clearingAgentVARCHAR(10)''deliverTo agent eg DVP Agent Bank ID
clearingTaxIDVARCHAR(10)''deliverTo taxID eg DVP TaxID
billingSecTypeenum - BillingSecType'None'SpiderRock billing security type
billingCategoryenum - BillingCategory'None'SpiderRock billing category
priAggGroupVARCHAR(16)''primary aggregation group
secAggGroupVARCHAR(16)''secondary aggregation group
trdDeltaFLOAT0trade delta
trdDDeltaFLOAT0trade delta
trdGammaFLOAT0trade gamma
trdDGammaFLOAT0trade dollar gamma
trdVegaFLOAT0trade vega
trdWtVegaFLOAT0trade wtVega vega vol sqrtmax01 years 4
trdThetaFLOAT0trade theta
trdBetaFLOAT0trade beta
trdDBetaFLOAT0trade beta
trdNotionalValueFLOAT0cn pointValue uPrc
trdMarketValueFLOAT0cn pointValue fillPrice
marginUDnVDnFLOAT0Aggregate RiskSlide uPrc dn vol dn
marginUDnVUpFLOAT0Aggregate RiskSlide uPrc dn vol up
marginUUpVDnFLOAT0Aggregate RiskSlide uPrc up vol dn
marginUUpVUpFLOAT0Aggregate RiskSlide uPrc up vol up
trdFairEdgeFLOAT0SR trade edge fill price to SR fair price
trdFairEdgeUnitFLOAT0SR trade edge normalized to 100 underlier
trdTheoEdgeFLOAT0theo edge user supplied theo volprc to SpiderRock surface price if any
trdTheoEdgeUnitFLOAT0theo edge normalized to 100 underlier
clArrivePnLFLOAT0arrival PnL client arrival mark to fill mark from clArriveMark on parent order if any
arrivePnLFLOAT0arrival PnL parent arrival mark to fill mark
arriveDnPnLFLOAT0arrival Dn PnL arrivalPnL uDriftArrivalPnL
uDriftArrivePnLFLOAT0underlier delta drift PnL arrival uMark to fill uMark
childLimitSlipFLOAT0Fill Slippage ChildLimitPrice to FillPrice
halfWidthPnLFLOAT0estimated halfwidth PnL
dayDnPnLFLOAT0delta neutral PnL to EOD
dayM1PnLFLOAT0delta neutral PnL Fill 1M
dayM10PnLFLOAT0delta neutral PnL Fill 10M
uDriftDayPnLFLOAT0underlier delta drift PnL to EOD
uDriftM1PnLFLOAT0underlier delta drift PnL Fill 1M
uDriftM10PnLFLOAT0underlier delta drift PnL Fill 10M
dayPnLFLOAT0actual PnL to EOD fillMark to liveMark
m1MarkDOUBLE0T1min
m1UPrcDOUBLE0T1min
m10MarkDOUBLE0T10min
m10UPrcDOUBLE0T10min
liveMarkDOUBLE0Live Record Query
liveUPrcDOUBLE0Live Record Query
trdMarkErrorVARCHAR(8)''trade mark error code
dayMarkErrorVARCHAR(8)''day mark error code
timestampDATETIME(6)'1900-01-01 00:00:00.000000'SR system timestamp

PRIMARY KEY DEFINITION (Unique)

FieldSequence
fillNumber1

SECONDARY INDEX (AccntIndex) (Not Unique)

FieldSequence
accnt1

SECONDARY INDEX (ClientFirmIndex) (Not Unique)

FieldSequence
clientFirm1

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgToolCompositeExecution`
WHERE
/* Replace with a CHAR(19) */
`fillNumber` = 'Example_fillNumber';

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='ToolCompositeExecution' ORDER BY ordinal_position ASC;